package com.itheima.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
//@TableName("user")
public class User {
    private static final long serialVersionUID = 1008611L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String name;
    @TableField("password")
    private String password;
    private Integer age;
    private String tel;
    //@TableLogic(value = "0", delval = "1")
    private Integer deleted;
    @Version
    private Integer version;


}
